import matplotlib.pyplot as plt
import matplotlib.patches as patches
import numpy as np

fig, ax = plt.subplots(1, 1)

polygon = patches.RegularPolygon((0.5, 0.5), 5, radius=0.5, color="blue")
ax.add_patch(polygon)
ax.spines["left"].set_visible(False)
ax.spines["right"].set_visible(False)
ax.spines["top"].set_visible(False)
ax.yaxis.set_visible(False)
plt.show()
